package com.wugui.datax.job.service.impl;

import com.wugui.datax.job.entity.HiveDemo;
import com.wugui.datax.job.mapper.HiveDemoMapper;
import com.wugui.datax.job.service.HiveDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author luofei
 * @date 2021/6/25 13:43
 */
@Service
public class HiveDemoServiceImpl implements HiveDemoService {

    @Autowired
    private HiveDemoMapper hiveDemoMapper;

    @Override
    public List<HiveDemo> query() throws Exception {
        return hiveDemoMapper.query();
    }
}
